package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class Programming03 {
	public static void main(String[] args) {
		double radius;
		double volume; 
		double PI=3.14;
		Scanner input = new Scanner(System.in);
		System.out.println("구의 반지름을 입력하세요");
		
		radius = input.nextDouble();
		volume = (4.0/3)*PI*radius*radius*radius;
		System.out.println("구의 부피는"+volume+"입니다");
	}
}
